<html>
	<head>
		<title>执行哪个js</title>
		<script type="text/javascript" src="../JS/util.js"></script>
	</head>
	<body>
		<input type="button" id="button" value="点我"/>
		<input type="text" id="payAmount" placeholder="请输入转出金额"/>
		<input type="button" id="but" value="转出"/>
	</body>
	<script>
		document.getElementById("button").onclick = function(){
			checkParam();
		};
		function buy(){
			alert("我是第一个buy");
		}
		document.getElementById("but").onclick = function(){
			payCheck();
		};
		var payCheck = function(){
			debugger;
			var payAmu = document.getElementById("payAmount").value;
			if(payAmu){
				alert(payAmu);
			}else{
				alert(111);
			}
		};
	</script>
</html>